import request from "@/utils/request";

const USER_BASE_URL = "/api/v1/users";

const UserAPI = {
    /**获取当前登录用户信息 */
    getInfo () {
        return request( {
            url: `${USER_BASE_URL}/me`,
            method: 'get'
        } );
    }
};

export default UserAPI;
